﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="TrangChu.aspx.cs" Inherits="WebApplication1.TrangChu" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainHolder" runat="server">
    <div id="wrapper">
        <div class="slider-wrapper theme-pascal">
            <div class="ribbon"></div>
            <div id="slider" class="nivoSlider">
                <img src="Image/va-nu-cuoi-se-hong-kho-tat-ca.jpg" alt=""/>
                <img src="Image/cho-e-gan-anh-them-chut-nua.jpg" alt="" title="Cuốn sách chứa đầy cảm xúc của tháng"/>
                <img src="Image/cung-duong.jpg" alt=""/>
                <img src="Image/flashcard.jpg" alt="" title="Cách học từ vựng tiếng anh mới nhất" data-transition="slideInLeft"/>
                <img src="Image/qua-tang-tinh-yeu.jpg" alt=""/>
            </div>
        </div>
    </div>
    <script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
        <script src="Scripts/jquery.nivo.slider.pack.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(window).load(function () {
                $('#slider').nivoSlider();
            });
    </script>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>                
    <div class="DockTrangChu">
        <div class="TextInDock">
            SÁCH MỚI
        </div>
        <div align="right">
            &nbsp;</div>
    </div>
    <div>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
                    <asp:DataList ID="dl_sachmoi" runat="server" CellPadding="10" Font-Bold="False" 
                        Font-Italic="False" Font-Overline="False" Font-Strikeout="False" 
                        Font-Underline="False" HorizontalAlign="Center" 
                        onitemcommand="dl_sachmoi_ItemCommand" RepeatColumns="5" 
                        RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" 
                        style="margin-bottom: 0px" Width="715px">
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
                            Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" 
                            VerticalAlign="Middle" />
                        <ItemTemplate>
                <asp:Image ID="Image2" runat="server" Height="119px" 
                ImageUrl='<%# "~/Handler.ashx?ID="+Eval("mamh") %>' Width="97px"/>
                <br />
                <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenMH") %>'></asp:HyperLink>
                <br />
                <asp:Label ID="Label2" runat="server" Text='<%# Eval("DonGia","{0:#,##0} VNĐ") %>'></asp:Label>
                <br />
                <asp:ImageButton ID="Button1" runat="server" CommandArgument='<%# Eval("MaMH") %>' 
                    CommandName="Dat" ImageUrl="~/Image/Chonmua1.jpg" Height="20px" 
                    Width="75px"/>
            </ItemTemplate>
                    </asp:DataList>
    </ContentTemplate>
                    </asp:UpdatePanel>
    </div>
    <p></p>
    <div class="DockTrangChu">
        <div class="TextInDock">
            SÁCH GIÁO KHOA
        </div>
        <div align="right">
            &nbsp;</div>                  
    </div>
    <div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
        <asp:DataList ID="dl_sachgk" runat="server" CellPadding="10" Font-Bold="False" 
            Font-Italic="False" Font-Overline="False" Font-Strikeout="False" 
            Font-Underline="False" HorizontalAlign="Center" RepeatColumns="5" 
            RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" 
            Width="715px" onitemcommand="dl_sachmoi_ItemCommand" style="margin-bottom: 0px">
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" 
                VerticalAlign="Middle" />
            <ItemTemplate>
                <asp:Image ID="Image2" runat="server" Height="119px" 
                ImageUrl='<%# "~/Handler.ashx?ID="+Eval("mamh") %>' Width="97px"/>
                <br />
                <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenMH") %>'></asp:HyperLink>
                <br />
                <asp:Label ID="Label2" runat="server" Text='<%# Eval("DonGiaLe","{0:0.##} VNĐ") %>'></asp:Label>
                <br />
                <asp:ImageButton ID="Button1" runat="server" CommandArgument='<%# Eval("MaMH") %>' 
                    CommandName="Dat" ImageUrl="~/Image/Chonmua1.jpg" Height="20px" 
                    Width="75px"/>
            </ItemTemplate>
        </asp:DataList>
    </ContentTemplate>
                    </asp:UpdatePanel>
    </div>
    <p></p>
</asp:Content>
